<div class="well sidebar-nav_d">
    <ul class="nav nav-list side_bar_c">
        <li class="nav-header s_top_c"><?php echo __('IP_online_support'); ?></li>
        <li class="li_tt">
            <div class="row-fluid">
                <div class="content">
                    <div class="supports">
                        <?php
                        if (count($supports) > 0) :
                            foreach ($supports as $key => $value) :
                                if ($value->type == YAHOO) :
                                    ?>
                                    <p>
                                        <?php if ($value->title != '' && $value->title != NULL): ?>
                                            <span><?php echo $value->title; ?></span>
                                        <?php endif; ?>
                                        <a href="ymsgr:SendIM?<?php echo $value->content; ?>">
                                            <img border=0 src="http://opi.yahoo.com/online?u=<?php echo $value->content; ?>&m=g&t=2">
                                        </a>
                                    </p>
                                    <?php
                                endif;
                                if ($value->type == SKYPE) :
                                    ?>
                                    <p>
                                        <?php if ($value->title != '' && $value->title != NULL): ?>
                                            <span><?php echo $value->title; ?></span>
                                        <?php endif; ?>
                                        <a href="skype:<?php echo $value->content; ?>">
                                            <img src="http://mystatus.skype.com/bigclassic/<?php echo $value->content; ?>" style="border: none;width: 130px;" alt="My status" /> 
                                        </a> 
                                    </p>
                                    <?php
                                endif;
                                if ($value->type == TELEPHONE) :
                                    ?>
                                    <div class="phone">
                                        <p>
                                            <strong><?php echo $value->title; ?></strong> <?php echo $value->content; ?>
                                        </p>
                                    </div>
                                    <?php
                                endif;
                                if ($value->type == TEXT && 'email' == trim(strtolower($value->title))) :
                                    ?>
                                    <div class="email">
                                        <p>
                                            Email : 
                                            <a href="mailto:<?php echo $value->content; ?>"><?php echo $value->content; ?></a>
                                        </p>
                                    </div>
                                    <?php
                                endif;
                                if ($value->type == TEXT && 'hotline' == trim(strtolower($value->title))) :
                                    ?>
                                    <div class="hotline">
                                        <p>
                                            Hotline : 
                                            <strong><?php echo $value->content; ?></strong>
                                        </p>
                                    </div>
                                    <?php
                                endif;
                            endforeach;
                        endif;
                        ?>
                    </div>
                </div>
            </div>
        </li>

    </ul>
</div>